aimag Interface

public interface aimag

Contents


Module Procedures

private pure function quat_aimag(q) result(rst)

Returns the imaginary component of the quaternion.

Arguments

Type IntentOptional Attributes Name
type(quaternion), intent(in) :: q

The quaternion.

Return Value real(kind=real64), dimension(3)

The imaginary component as a vector.